﻿//using System;

//namespace NiuX.Extensions;

//public static class ServiceProviderExtensions
//{
//    public static T? GetService<T>(this IServiceProvider serviceProvider)
//    {
//        return (T)serviceProvider.GetService(typeof(T));
//    }
//}